package com.hj.pet.api;

import com.hj.pet.model.ReturnT;
import com.hj.pet.model.Shop;

import java.util.List;

public interface ShopService {
    int save(Shop shop);

    int updateByShopId(Shop shop);

    Shop findShopByShopId(String shop_id);

    List<Shop> findShopByName(String shop_name);

    List<Shop> findShopByMaster(String master_id);

    List<Shop> findShop(Shop shop);

    int deleteById(String shop_id);

    ReturnT<?> addShop(Shop shop);

    ReturnT<?> update(Shop shop);
}
